package cn.fintecher.pangolin.service.business.model.response;

import cn.fintecher.pangolin.common.enums.ApprovalResult;
import cn.fintecher.pangolin.common.enums.ApprovalStatus;
import cn.fintecher.pangolin.common.enums.BaseSelect;
import cn.fintecher.pangolin.entity.mysql.ProcessApplication;
import cn.fintecher.pangolin.entity.mysql.ProcessApprover;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;
import java.util.Set;

/**
 * @Author wangxiangdong
 * @Description 流程节点response
 * @Date 2019/9/27 17:16
 **/
@Data
public class ProcessFlowNodesResponse {

    @ApiModelProperty("审批节点值")
    private Integer nodeValue;

    @ApiModelProperty("审批状态")
    @Enumerated(EnumType.STRING)
    private ApprovalStatus approvalStatus = ApprovalStatus.WAIT_APPROVAL;

    @ApiModelProperty("审批结果")
    @Enumerated(EnumType.STRING)
    private ApprovalResult approvedResult;

    @ApiModelProperty(notes = "审批意见")
    private String remark;

    @ApiModelProperty(notes = "审批时间")
    private Date approvalTime;

    @ApiModelProperty(value = "审批人员")
    private String approverNames;

}
